package com.cloudfun.campusshare.repo;

import com.cloudfun.campusshare.entity.DiscountPromotionEntity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * Created by CodeGenerator on 2020/06/06
 */
public interface DiscountPromotionRepo extends PagingAndSortingRepository<DiscountPromotionEntity, String>, JpaSpecificationExecutor<DiscountPromotionEntity> {

    DiscountPromotionEntity findByPromotionId(String couponId);

}